using System;
using System.Reflection;

namespace Szmyd.Infiltrator.Autofac {
    using System.Diagnostics;

    public class ProfilingInfo {
        public ProfilingInfo() {
            TimeSpent = new TimeSpan(0);
            CallCount = 1;
        }
        public string MethodName { get; set; }
        public TimeSpan TimeSpent { get; set; }
        public int CallCount { get; set; }
        public MethodInfo Method { get; set; }
        public Type DeclaringType { get; set; }
        public Type TargetType { get; set; }

        public Guid ThreadId { get; set; }
        public string ParentId { get; set; }
        public string Id { get; set; }
    }
}